<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
		    xmlns:sys="clr-namespace:System;assembly=mscorlib"
xmlns:wecpof="clr-namespace:WECPOFLogic;assembly=WECPOFLogic"
xmlns:ecowpf="clr-namespace:Eco.ViewModel.WPF;assembly=Eco.WPF"
            xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:local="clr-namespace:AcoArtikelMasterWPFWIN"
                    > 

    
    <Style x:Key="ProcessButton" TargetType="Button">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type Button}">
                    <Border x:Name="theborder" BorderBrush="Blue" BorderThickness="2" CornerRadius="{Binding Path=ActualWidth,ElementName=theborder}" Background="Yellow">
                       <ContentPresenter Margin="2" HorizontalAlignment="Center" VerticalAlignment="Center"/>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>

    </Style>
    
    <Style x:Key="wraptextcell">
        <Setter Property="TextBlock.TextWrapping" Value="Wrap"></Setter>
    </Style>

    

    <Style x:Key="wraptextcell_Edit">
        <Setter Property="TextBox.TextWrapping" Value="Wrap"></Setter>
        <Setter Property="TextBox.AcceptsReturn" Value="True"></Setter>
    </Style>




    <!-- Shows 2 dec normally, but will display up to the tenth decimal -->
    <sys:String x:Key="decimal.StringFormat">0.00########</sys:String>
    <!-- Shows 2 dec normally, but will display up to the sixth decimal -->
    <sys:String x:Key="decimalshort.StringFormat">0.00####</sys:String>


    <Style x:Key="h1.TextBlock" >
        <Setter Property="TextBlock.FontSize" Value="18"/>
        <Setter Property="TextBlock.Foreground" Value="Black"/>
    </Style>
    <Style x:Key="h2.TextBlock" >
        <Setter Property="TextBlock.FontSize" Value="16"/>
        <Setter Property="TextBlock.Foreground" Value="Black"/>
    </Style>
    <Style x:Key="h2red.TextBlock" >
        <Setter Property="TextBlock.FontSize" Value="16"/>
        <Setter Property="TextBlock.Foreground" Value="Red"/>
    </Style>
    <Style x:Key="h3.TextBlock" >
        <Setter Property="TextBlock.FontSize" Value="14"/>
        <Setter Property="TextBlock.Foreground" Value="Black"/>
    </Style>

    <Style x:Key="h3red.TextBlock" >
        <Setter Property="TextBlock.FontSize" Value="14"/>
        <Setter Property="TextBlock.Foreground" Value="Red"/>
    </Style>
    <Style x:Key="red.TextBlock" >
        <Setter Property="TextBlock.FontSize" Value="12"/>
        <Setter Property="TextBlock.Foreground" Value="Red"/>
    </Style>

    <LinearGradientBrush x:Key="HeaderBrush"  StartPoint="0,0" EndPoint="1,0">
        <GradientStop Color="#FFAABFE3" Offset="0.0" />
        <GradientStop Color="#88AABFE3" Offset="1.0" />
    </LinearGradientBrush>



    <Style x:Key="header.TextBlock" >
        <Setter Property="TextBlock.FontSize" Value="18"/>
        <Setter Property="TextBlock.FontWeight" Value="ExtraBold"/>
        <Setter Property="TextBlock.Foreground" Value="Black"/>
        <Setter Property="TextBlock.Background" Value="{StaticResource HeaderBrush}"/>
        <Setter Property="TextBlock.Margin" Value="0,0,0,10"/>
    </Style>





    <SolidColorBrush x:Key="DisabledBackgroundBrush" Color="#EEEEEE">
    </SolidColorBrush>
    <SolidColorBrush x:Key="DisabledForegroundBrush" Color="Gray">
    </SolidColorBrush>

    <SolidColorBrush x:Key="StaticTextBrush" Color="#FF010101">
    </SolidColorBrush>

    <SolidColorBrush x:Key="EditableText" Color="#FF1D1D1D">
    </SolidColorBrush>


    <SolidColorBrush x:Key="ButtonBackGray" Color="#FFE5E5E5">
    </SolidColorBrush>
    <SolidColorBrush x:Key="EditControlBorderColor" Color="#FF858484">
    </SolidColorBrush>


    <LinearGradientBrush x:Key="GridBack"  StartPoint="0,0" EndPoint="1,1">
        <GradientStop Color="#20FFFFFF" Offset="0.0" />
        <GradientStop Color="#88FFFFFF" Offset="1.0" />
    </LinearGradientBrush>


    <LinearGradientBrush x:Key="WECPOFCommandButtonWarningBackground" EndPoint="0.5,1" MappingMode="RelativeToBoundingBox" StartPoint="0.5,0">
        <GradientStop Color="#FFF94F0F" Offset="0"/>
        <GradientStop Color="#FFF39E91" Offset="0.545"/>
        <GradientStop Color="#FFF12808" Offset="1"/>
    </LinearGradientBrush>
    <!--<SolidColorBrush x:Key="WECPOFCommandButtonWarningBackground" Color="#FFFB0000">
    </SolidColorBrush>-->

    <SolidColorBrush x:Key="WECPOFCommandButtonOkBackground" Color="#FF26D426">
    </SolidColorBrush>


    <LinearGradientBrush x:Key="WECPOFCommandButtonHiLiteBackground" EndPoint="0.5,1" MappingMode="RelativeToBoundingBox" StartPoint="0.5,0">
        <GradientStop Color="#FFE0E006" Offset="0.022"/>
        <GradientStop Color="#FFF4FBA7" Offset="0.519"/>
        <GradientStop Color="#FFE2E235" Offset="1"/>
    </LinearGradientBrush>
    <!-- <SolidColorBrush x:Key="WECPOFCommandButtonHiLiteBackground" Color="Yellow">
    </SolidColorBrush> -->


    <LinearGradientBrush x:Key="WECPOFCommandButtonNormalBackground"  StartPoint="0,0" EndPoint="1,1">
        <GradientStop Color="#30AABFE3" Offset="0.0" />
        <GradientStop Color="#FFAABFE3" Offset="1.0" />
    </LinearGradientBrush>



    <LinearGradientBrush x:Key="WECPOFConstraintError" EndPoint="0.5,1" MappingMode="RelativeToBoundingBox" StartPoint="0.5,0">
        <GradientStop Color="#FFF94F0F" Offset="0"/>
        <GradientStop Color="#FFF39E91" Offset="0.545"/>
        <GradientStop Color="#FFF12808" Offset="1"/>
    </LinearGradientBrush>

    <LinearGradientBrush x:Key="WECPOFConstraintWarning" EndPoint="0.5,1" MappingMode="RelativeToBoundingBox" StartPoint="0.5,0">
        <GradientStop Color="#FFE0E006" Offset="0.022"/>
        <GradientStop Color="#FFF4FBA7" Offset="0.519"/>
        <GradientStop Color="#FFE2E235" Offset="1"/>
    </LinearGradientBrush>

    <LinearGradientBrush x:Key="WECPOFConstraintInformation" EndPoint="0.5,1" MappingMode="RelativeToBoundingBox" StartPoint="0.5,0">
        <GradientStop Color="#FFC6E6E6" Offset="0.022"/>
        <GradientStop Color="#FFF0FCFD" Offset="0.519"/>
        <GradientStop Color="#FFC6EFF1" Offset="1"/>
    </LinearGradientBrush>




    <SolidColorBrush x:Key="WECPOFWinContentBackgroundBrush" Color="Transparent">
    </SolidColorBrush>
    <LinearGradientBrush x:Key="WECPOFWinBackgroundBrush"  StartPoint="0,0" EndPoint="1,1">
        <GradientStop Color="#30AABFE3" Offset="0.0" />
        <GradientStop Color="#FFAABFE3" Offset="1.0" />
    </LinearGradientBrush>


    <Style x:Key="WECPOFSideButtonHeader" TargetType="TextBlock">
        <Setter Property="TextBlock.FontWeight" Value="ExtraBold"/>
        <Setter Property="TextBlock.Foreground" Value="Black"/>
        <Setter Property="FontSize" Value="12"/>
        <Setter Property="FontFamily" Value="Calibri"/>
    </Style>

    <Style x:Key="WECPOFCommandButtonHeader" TargetType="TextBlock">
        <Setter Property="TextBlock.FontWeight" Value="ExtraBold"/>
        <Setter Property="Foreground" Value="Black"/>
        <Setter Property="FontSize" Value="10"/>
        <Setter Property="TextBlock.FontFamily" Value="Calibri"/>
    </Style>



    <LinearGradientBrush x:Key="WECPOFCommandButtonGridBackground" StartPoint="1,0" EndPoint="0,0">
        <GradientStop Color="#30AABFE3" Offset="0.0" />
        <GradientStop Color="#FFAABFE3" Offset="1.0" />
    </LinearGradientBrush>

    <Style x:Key="WECPOFCommandButtonGrid" TargetType="Grid">
        <Setter Property="Background" Value="{StaticResource WECPOFCommandButtonGridBackground}">
        </Setter>
    </Style>


    <Style x:Key="WECPOFMainSplitter" TargetType="GridSplitter">
<!--        <Setter Property="Background" Value="LightGray"></Setter> -->
    </Style>



    <!--  WECPOFWINHeaderStyle  The style used for the window header-->
    <Style x:Key="WECPOFWINHeaderStyle" TargetType="{x:Type TextBlock}">
        <Setter Property="Foreground" Value="{StaticResource StaticTextBrush}"></Setter>
        <Setter Property="Margin" Value="2,0,2,0"></Setter>
        <Setter Property="FontSize" Value="10"/>
        <Setter Property="FontWeight" Value="ExtraBold"></Setter>
        <Setter Property="MaxWidth" Value="200"></Setter>
        <Setter Property="TextTrimming" Value="CharacterEllipsis"></Setter>
    </Style>



    <Style x:Key="WECPOFCommandButton" TargetType="Button">
        <Setter Property="SnapsToDevicePixels" Value="true"/>
        <Setter Property="OverridesDefaultStyle" Value="true"/>
        <Setter Property="Foreground" Value="Blue" />
        <Setter Property="Background" Value="{StaticResource WECPOFCommandButtonNormalBackground}" />
        <Setter Property="Margin" Value="1"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type Button}">
                    <Border 
          x:Name="Border"  
          CornerRadius="0 " 
          BorderThickness="0"
          BorderBrush="Red"
          Background="{TemplateBinding Background}"
          >
                        <ContentPresenter 
            Margin="2"
            HorizontalAlignment="Left"
            VerticalAlignment="Center"
            RecognizesAccessKey="True"
            />
                    </Border>
                    <ControlTemplate.Triggers>
                        <Trigger Property="IsKeyboardFocused" Value="true">
                            <Setter TargetName="Border" Property="BorderBrush" Value="#202020" />
                        </Trigger>
                        <Trigger Property="IsDefaulted" Value="true">
                            <Setter TargetName="Border" Property="BorderBrush" Value="#202020" />
                        </Trigger>
                        <Trigger Property="IsMouseOver" Value="true">
                            <Setter TargetName="Border" Property="Background" Value="#808080" />
                            <Setter Property="Foreground" Value="Black"/>
                        </Trigger>
                        <Trigger Property="IsPressed" Value="true">
                            <Setter TargetName="Border" Property="Background" Value="#E0E0E0" />
                            <Setter TargetName="Border" Property="BorderBrush" Value="#606060" />
                        </Trigger>
                        <Trigger Property="IsEnabled" Value="false">
                            <Setter  Property="Foreground" Value="Gray" />
                        </Trigger>
                        <Trigger Property="IsEnabled" Value="true">
                            <Setter TargetName="Border" Property="Background" Value="{Binding Path=Background, RelativeSource={RelativeSource AncestorType={x:Type Button}}}" />
                            <Setter TargetName="Border" Property="BorderBrush" Value="#AAAAAA" />
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>


    <!-- WECPOFWinBackgroundBrush The background of a single window 
    <LinearGradientBrush x:Key="WECPOFWinBackgroundBrush" EndPoint="1,0.5" StartPoint="0,0.5">
        <GradientStop Color="#FF999999" Offset="0" />
        <GradientStop Color="#FF555555" Offset="1" />
    </LinearGradientBrush>-->
    <!-- WECPOFWinContentBackgroundBrush The background of content plate of a single window 
    <LinearGradientBrush x:Key="WECPOFWinContentBackgroundBrush" EndPoint="1,0.5" StartPoint="0,0.5">
        <GradientStop Color="#FF555555" Offset="0" />
        <GradientStop Color="#FF999999" Offset="1" />
    </LinearGradientBrush>-->

    <!-- SimpleStyles: ComboBox -->

    <!--
remove the tab control since we have a better style for this in MainWindow...
    <Style  TargetType="TabControl" >
        <Setter Property="Padding" Value="0,0,-1,0"></Setter>                     
    </Style>
-->

    <ControlTemplate x:Key="ComboBoxToggleButton" TargetType="{x:Type ToggleButton}">
        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition />
                <ColumnDefinition Width="20" />
            </Grid.ColumnDefinitions>
            <Border
      x:Name="Border" 
      Grid.ColumnSpan="2"
      CornerRadius="0"
      Background="{StaticResource ButtonBackGray}"
      BorderBrush="{StaticResource ButtonBackGray}"
      BorderThickness="0" />
            <Border 
      Grid.Column="0"
      CornerRadius="0" 
      Margin="0" 
      Background="#FFFFFF" 
      BorderBrush="#404040"
      BorderThickness="0" />
            <Path 
      x:Name="Arrow"
      Grid.Column="1"     
      Fill="Black"
      HorizontalAlignment="Center"
      VerticalAlignment="Center"
      Data="M 0 0 L 4 4 L 8 0 Z"/>
        </Grid>
        <ControlTemplate.Triggers>
            <Trigger Property="ToggleButton.IsMouseOver" Value="true">
                <Setter TargetName="Border" Property="Background" Value="{StaticResource EditControlBorderColor}" />
            </Trigger>
            <Trigger Property="ToggleButton.IsChecked" Value="true">
                <Setter TargetName="Border" Property="Background" Value="{StaticResource EditControlBorderColor}" />
            </Trigger>
            <Trigger Property="IsEnabled" Value="False">
                <Setter TargetName="Border" Property="Background" Value="#FFE5E5E5" />
                <Setter TargetName="Border" Property="BorderBrush" Value="#FFE5E5E5" />
                <Setter Property="Foreground" Value="#888888"/>
                <Setter TargetName="Arrow" Property="Fill" Value="#CCCCCC" />
            </Trigger>
            <Trigger Property="IsEnabled" Value="True">
                <Setter TargetName="Border" Property="Background" Value="{StaticResource ButtonBackGray}" />
                <Setter Property="Foreground" Value="{StaticResource ButtonBackGray}"/>
                <Setter TargetName="Arrow" Property="Fill" Value="Black" />
            </Trigger>
        </ControlTemplate.Triggers>
    </ControlTemplate>

    <ControlTemplate x:Key="ComboBoxTextBox" TargetType="{x:Type TextBox}">
        <Border x:Name="PART_ContentHost" Focusable="False" Background="{TemplateBinding Background}" BorderBrush="{StaticResource EditControlBorderColor}" />
        <ControlTemplate.Triggers>
            <Trigger Property="IsEnabled" Value="false">
                <Setter Property="Background" Value="{StaticResource DisabledBackgroundBrush}"/>
            </Trigger>
        </ControlTemplate.Triggers>
    </ControlTemplate>

    <Style  TargetType="{x:Type ComboBox}">
        <Setter Property="Margin" Value="10,1,1,1" />
        <Setter Property="SnapsToDevicePixels" Value="true"/>
        <Setter Property="OverridesDefaultStyle" Value="true"/>
        <Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Auto"/>
        <Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto"/>
        <Setter Property="ScrollViewer.CanContentScroll" Value="true"/>
        <Setter Property="MinWidth" Value="80"/>
        <Setter Property="MinHeight" Value="15"/>
        <Setter Property="BorderBrush" Value="{StaticResource EditControlBorderColor}"/>
        <Setter Property="Foreground" Value="{StaticResource EditableText}"/>

        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type ComboBox}">
                    <Grid>
                        <ToggleButton 
            Name="ToggleButton" 
            Template="{StaticResource ComboBoxToggleButton}" 
            Grid.Column="2" 
            Focusable="false"
            IsChecked="{Binding Path=IsDropDownOpen,Mode=TwoWay,RelativeSource={RelativeSource TemplatedParent}}"
            ClickMode="Press"
	    BorderThickness="0">
                        </ToggleButton>
                        <ContentPresenter
            Name="ContentSite"
            IsHitTestVisible="False" 
            Content="{TemplateBinding SelectionBoxItem}"
            ContentTemplate="{TemplateBinding SelectionBoxItemTemplate}"
            ContentTemplateSelector="{TemplateBinding ItemTemplateSelector}"
            Margin="3,3,23,3"
            VerticalAlignment="Center"
            HorizontalAlignment="Left" />
                        <TextBox x:Name="PART_EditableTextBox"
            Style="{x:Null}" 
            Template="{StaticResource ComboBoxTextBox}" 
            HorizontalAlignment="Left" 
            VerticalAlignment="Center" 
            Margin="3,3,23,3"
            Focusable="True" 
            Background="Transparent"
            Visibility="Hidden"
            BorderBrush="{StaticResource EditControlBorderColor}"
            IsReadOnly="{TemplateBinding IsReadOnly}"
            BorderThickness="0"/>
                        <Popup 
            Name="Popup"
            Placement="Bottom"
            IsOpen="{TemplateBinding IsDropDownOpen}"
            AllowsTransparency="True" 
            Focusable="False"
            PopupAnimation="Slide">
                            <Grid 
              Name="DropDown"
              SnapsToDevicePixels="True"                
              MinWidth="{TemplateBinding ActualWidth}"
              MaxHeight="{TemplateBinding MaxDropDownHeight}">
                                <Border 
                x:Name="DropDownBorder"
                Background="#FFFFFF"
                BorderThickness="1"
                BorderBrush="{StaticResource EditControlBorderColor}"/>
                                <ScrollViewer Margin="4,6,4,6" SnapsToDevicePixels="True">
                                    <StackPanel IsItemsHost="True" KeyboardNavigation.DirectionalNavigation="Contained" />
                                </ScrollViewer>
                            </Grid>
                        </Popup>
                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger Property="HasItems" Value="false">
                            <Setter TargetName="DropDownBorder" Property="MinHeight" Value="95"/>
                        </Trigger>
                        <Trigger Property="IsEnabled" Value="false">
                            <Setter Property="Foreground" Value="#888888"/>
                            <Setter Property="Background" Value="{StaticResource DisabledBackgroundBrush}"/>
                        </Trigger>


                        <Trigger Property="IsGrouping" Value="true">
                            <Setter Property="ScrollViewer.CanContentScroll" Value="false"/>
                        </Trigger>
                        <Trigger SourceName="Popup" Property="Popup.AllowsTransparency" Value="true">
                            <Setter TargetName="DropDownBorder" Property="CornerRadius" Value="0"/>
                            <Setter TargetName="DropDownBorder" Property="Margin" Value="0,2,0,0"/>
                        </Trigger>
                        <Trigger Property="IsEditable"
               Value="true">
                            <Setter Property="IsTabStop" Value="false"/>
                            <Setter TargetName="PART_EditableTextBox" Property="Visibility"	Value="Visible"/>
                            <Setter TargetName="ContentSite" Property="Visibility" Value="Hidden"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Style.Triggers>
        </Style.Triggers>
    </Style>

    <!-- SimpleStyles: ComboBoxItem -->

    <Style x:Key="{x:Type ComboBoxItem}" TargetType="{x:Type ComboBoxItem}">
        <Setter Property="SnapsToDevicePixels" Value="true"/>
        <Setter Property="OverridesDefaultStyle" Value="true"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type ComboBoxItem}">
                    <Border   BorderBrush="{StaticResource EditControlBorderColor }"
          Name="Border"
          Padding="2"
          SnapsToDevicePixels="true">
                        <ContentPresenter />
                    </Border>
                    <ControlTemplate.Triggers>
                        <Trigger Property="IsHighlighted" Value="true">
                            <Setter TargetName="Border" Property="Background" Value="#DDDDDD"/>
                        </Trigger>
                        <Trigger Property="IsEnabled" Value="false">
                            <Setter Property="Foreground" Value="#888888"/>
                        </Trigger>
                        <Trigger Property="IsEnabled" Value="true">
                            <Setter Property="Foreground" Value="{StaticResource StaticTextBrush }"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>


    <Style x:Key="{x:Type CheckBox}" TargetType="{x:Type CheckBox}">
        <Setter Property="Margin" Value="10,4,0,0"/>

    </Style>



    <!-- SimpleStyles: TextBox -->


    <Style x:Key="{x:Type TextBox}" TargetType="{x:Type TextBox}">
        <Setter Property="SnapsToDevicePixels" Value="True"/>
        <Setter Property="OverridesDefaultStyle" Value="True"/>
        <Setter Property="KeyboardNavigation.TabNavigation" Value="None"/>
        <Setter Property="FocusVisualStyle" Value="{x:Null}"/>
        <Setter Property="MinWidth" Value="50"/>
        <Setter Property="MinHeight" Value="20"/>
        <Setter Property="AllowDrop" Value="true"/>
        <Setter Property="Margin" Value="10,1,1,1"/>

        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type TextBoxBase}">
                    <Border 
          Name="Border"
          CornerRadius="0" 
          Padding="2"
          Background="{TemplateBinding Background}"
          BorderBrush="{StaticResource EditControlBorderColor}"
          BorderThickness="0" >
                        <ScrollViewer Margin="0" x:Name="PART_ContentHost"/>
                    </Border>
                    <ControlTemplate.Triggers>
                        <Trigger Property="IsEnabled" Value="false">
                            <Setter Value="{StaticResource DisabledBackgroundBrush}" Property="Background" />
                            <Setter Value="{StaticResource DisabledForegroundBrush}" Property="Foreground" />
                        </Trigger>
                        <Trigger Property="IsEnabled" Value="true">
                            <Setter Property="Foreground" Value="{StaticResource EditableText}"/>
                            <Setter Value="#FFFFFF" Property="Background" />
                        </Trigger>
                        <Trigger Property="IsReadOnly" Value="false">
                            <Setter Property="Foreground" Value="{StaticResource EditableText}"/>
                            <Setter Value="#FFFFFF" Property="Background" />
                        </Trigger>
                        <Trigger Property="IsReadOnly" Value="true">
                            <Setter Value="{StaticResource DisabledBackgroundBrush}" Property="Background" />
                            <Setter Value="{StaticResource DisabledForegroundBrush}" Property="Foreground" />
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>



    <!--
    <Style TargetType="TextBlock">
        <Setter Property="Foreground" Value="{StaticResource StaticTextBrush}"></Setter>
    </Style>
-->


    <Style x:Key="contentsmall.TextBlock" TargetType="TextBlock">
        <Setter Property="HorizontalAlignment" Value="Right"></Setter>
        <Setter Property="Foreground" Value="{StaticResource StaticTextBrush}"></Setter>
        <Setter Property="FontSize" Value="9"/>
        <Setter Property="Margin" Value="0,4,0,0"/>
    </Style>

    <Style x:Key="contentsmall.TextBox" TargetType="TextBox">
        <Setter Property="FontSize" Value="12"/>
        <Setter Property="Background" Value="{StaticResource DisabledBackgroundBrush}"></Setter>
        <Setter Property="Margin" Value="10,0,0,0"/>
    </Style>

    <SolidColorBrush x:Key="myYellow" Color="#FFFFE987"></SolidColorBrush>

    <Style x:Key="GreenNoChange.TextBox" TargetType="TextBox" BasedOn="{StaticResource contentsmall.TextBox}">
        <Setter Property="Background" Value="LightGreen"></Setter>
        <Setter Property="Opacity" Value="0.40"></Setter>
        <!--
        <Setter Property="Effect" >
            <Setter.Value>
                <BlurEffect></BlurEffect>
            </Setter.Value>
        </Setter> -->
    </Style>
    <Style x:Key="Green.TextBox" TargetType="TextBox" BasedOn="{StaticResource contentsmall.TextBox}">
        <Setter Property="Background" Value="LightGreen"></Setter>
    </Style>
    <Style x:Key="Yellow.TextBox" TargetType="TextBox" BasedOn="{StaticResource contentsmall.TextBox}">
        <Setter Property="Background" Value="{StaticResource myYellow}"></Setter>
    </Style>
    <Style x:Key="Red.TextBox" TargetType="TextBox" BasedOn="{StaticResource contentsmall.TextBox}">
        <Setter Property="Background" Value="Pink"></Setter>
    </Style>

    <Style x:Key="GreenNoChange.Button" TargetType="Button" BasedOn="{StaticResource {x:Type Button}}">
        <Setter Property="Background" Value="LightGreen"></Setter>
        <Setter Property="Opacity" Value="0.40"></Setter>
        <!--        <Setter Property="Effect" >
            <Setter.Value>
                <BlurEffect></BlurEffect>
            </Setter.Value> 
        </Setter>-->
    </Style>
    <Style x:Key="Green.Button" TargetType="Button" BasedOn="{StaticResource {x:Type Button}}">
        <Setter Property="Background" Value="LightGreen"></Setter>
    </Style>
    <Style x:Key="Yellow.Button" TargetType="Button" BasedOn="{StaticResource {x:Type Button}}">
        <Setter Property="Background" Value="{StaticResource myYellow}"></Setter>
    </Style>
    <Style x:Key="Red.Button" TargetType="Button" BasedOn="{StaticResource {x:Type Button}}">
        <Setter Property="Background" Value="Pink"></Setter>
    </Style>


    <Style x:Key="accepttab.TextBox" TargetType="TextBox">
        <Setter Property="AcceptsTab" Value="True"/>
    </Style>

    <Style x:Key=".TextBlock" TargetType="TextBlock">
        <Setter Property="HorizontalAlignment" Value="Right"></Setter>
        <Setter Property="Foreground" Value="{DynamicResource StaticTextBrush}"></Setter>
        <Setter Property="FontSize" Value="9"/>
        <Setter Property="Margin" Value="0,4,0,0"/>
    </Style>
    <Style x:Key="decimal.TextBlock" TargetType="TextBlock">
        <Setter Property="HorizontalAlignment" Value="Right"></Setter>
        <Setter Property="Foreground" Value="{StaticResource StaticTextBrush}"></Setter>
        <Setter Property="FontSize" Value="9"/>
        <Setter Property="Margin" Value="0,4,0,0"/>
    </Style>

    <Style x:Key="left.TextBlock" TargetType="TextBlock">
        <Setter Property="HorizontalAlignment" Value="Left"></Setter>
        <Setter Property="Foreground" Value="{StaticResource StaticTextBrush}"></Setter>
        <Setter Property="FontSize" Value="9"/>
        <Setter Property="Margin" Value="10,4,0,0"/>
    </Style>
    <Style x:Key=".AboveGrid.TextBlock" TargetType="TextBlock">
        <Setter Property="HorizontalAlignment" Value="Left"></Setter>
        <Setter Property="Foreground" Value="{StaticResource StaticTextBrush}"></Setter>
        <Setter Property="FontSize" Value="9"/>
        <Setter Property="Margin" Value="10,4,0,0"/>
    </Style>

    <Style x:Key="ButtonOldStyle"  TargetType="{x:Type Button}">
        <Setter Property="OverridesDefaultStyle" Value="false"/>
        <Setter Property="Margin" Value="10,0,0,0"/>
        <Setter Property="BorderBrush" Value="{StaticResource ButtonBackGray}"/>
        <Setter Property="Background" Value="{StaticResource ButtonBackGray}"/>
        <Setter Property="BorderThickness" Value="0"/>
    </Style>

    <Style TargetType="{x:Type Button}">
        <Setter Property="Margin" Value="10,0,0,0"/>
        <Setter Property="BorderThickness" Value="1"/>
        <Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
        <Setter Property="HorizontalContentAlignment" Value="Center"/>
        <Setter Property="VerticalContentAlignment" Value="Center"/>
        <Setter Property="Padding" Value="1"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type Button}">
                    <Grid>
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="CommonStates">
                                <VisualState x:Name="Normal">
                                    <Storyboard>
                                        <ColorAnimation To="#F0F0F0" Storyboard.TargetName="BgBrush" Storyboard.TargetProperty="(GradientBrush.GradientStops)[0].(GradientStop.Color)" Duration="0:0:0.07"/>
                                        <ColorAnimation To="#E5E5E5" Storyboard.TargetName="BgBrush" Storyboard.TargetProperty="(GradientBrush.GradientStops)[1].(GradientStop.Color)" Duration="0:0:0.07"/>
                                        <ColorAnimation To="#ACACAC" Storyboard.TargetName="BrBrush" Storyboard.TargetProperty="Color" Duration="0:0:0.07" />
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="MouseOver">
                                    <Storyboard>
                                        <ColorAnimation To="#F0F4F9" Storyboard.TargetName="BgBrush" Storyboard.TargetProperty="(GradientBrush.GradientStops)[0].(GradientStop.Color)" Duration="0:0:0.07"/>
                                        <ColorAnimation To="#E0ECF9" Storyboard.TargetName="BgBrush" Storyboard.TargetProperty="(GradientBrush.GradientStops)[1].(GradientStop.Color)" Duration="0:0:0.07"/>
                                        <ColorAnimation To="#7EB4EA" Storyboard.TargetName="BrBrush" Storyboard.TargetProperty="Color" Duration="0:0:0.07" />
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Pressed">
                                    <Storyboard>
                                        <ColorAnimation To="#DBEDFD" Storyboard.TargetName="BgBrush" Storyboard.TargetProperty="(GradientBrush.GradientStops)[0].(GradientStop.Color)" Duration="0:0:0.05"/>
                                        <ColorAnimation To="#C4E0FC" Storyboard.TargetName="BgBrush" Storyboard.TargetProperty="(GradientBrush.GradientStops)[1].(GradientStop.Color)" Duration="0:0:0.05"/>
                                        <ColorAnimation To="#569DE5" Storyboard.TargetName="BrBrush" Storyboard.TargetProperty="Color" Duration="0:0:0.05" />
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Disabled">
                                    <Storyboard>
                                        <ColorAnimation To="#EFEFEF" Storyboard.TargetName="BgBrush" Storyboard.TargetProperty="(GradientBrush.GradientStops)[0].(GradientStop.Color)" Duration="0:0:0"/>
                                        <ColorAnimation To="#EFEFEF" Storyboard.TargetName="BgBrush" Storyboard.TargetProperty="(GradientBrush.GradientStops)[1].(GradientStop.Color)" Duration="0:0:0"/>
                                        <ColorAnimation To="#D9D9D9" Storyboard.TargetName="BrBrush" Storyboard.TargetProperty="Color" Duration="0:0:0" />
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                        <Border x:Name="Chrome" BorderThickness="{TemplateBinding BorderThickness}" SnapsToDevicePixels="true">
                            <Border.BorderBrush>
                                <SolidColorBrush x:Name="BrBrush" Color="#ACACAC" />
                            </Border.BorderBrush>
                            <Border.Background>
                                <LinearGradientBrush x:Name="BgBrush" EndPoint="0,1" StartPoint="0,0">
                                    <GradientStop Color="#F0F0F0" Offset="0"/>
                                    <GradientStop Color="#E5E5E5" Offset="1"/>
                                </LinearGradientBrush>
                            </Border.Background>
                            <ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
                        </Border>
                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger Property="IsEnabled" Value="false">
                            <Setter Property="Foreground" Value="#ADADAD"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>


    <TextBlock x:Key="closecontent" Text="X" FontSize="6"></TextBlock>
    <Style TargetType="{x:Type wecpof:CloseButton}" BasedOn="{StaticResource {x:Type Button}}">
        <Setter Property="Content" Value="{StaticResource closecontent}" />
    </Style>



    <Style x:Key=".ColumnHeaderStyle.DataGrid" TargetType="{x:Type DataGridColumnHeader}">
        <Setter Property="Background" Value="{StaticResource ButtonBackGray}" />
        <Setter Property="Foreground" Value="Black" />
        <Setter Property="FontSize" Value="9"/>
        <Setter Property="Padding" Value="2" />
        <Setter Property="BorderThickness" Value="0,0,1,0" />
        <Setter Property="BorderBrush" Value="DarkGray" />
    </Style>

    <Style x:Key=".RowHeaderStyle.DataGrid" TargetType="{x:Type DataGridRowHeader}">
        <Setter Property="Background" Value="{StaticResource ButtonBackGray}" />
        <Setter Property="Foreground" Value="Black" />
        <Setter Property="FontSize" Value="9"/>
        <Setter Property="Padding" Value="2" />
        <Setter Property="BorderThickness" Value="0,0,1,0" />
        <Setter Property="BorderBrush" Value="DarkGray" />
    </Style>

    <Style x:Key="wraptextcell.ElementStyle.DataGridTextColumn">
        <Setter Property="TextBlock.TextWrapping" Value="Wrap"></Setter>
    </Style>

    <Style x:Key="wraptextcell.EditingElementStyle.DataGridTextColumn">
        <Setter Property="TextBox.TextWrapping" Value="Wrap"></Setter>
        <Setter Property="TextBox.AcceptsReturn" Value="True"></Setter>
    </Style>

    


    <Style x:Key="noedit.ElementStyle.DataGridTextColumn"  TargetType="{x:Type TextBlock}" >
        <Setter Property="FontSize" Value="8"/>
        <Setter Property="FontStyle" Value="Italic"/>
    </Style>

    <Style x:Key="noeditright.ElementStyle.DataGridTextColumn"  TargetType="{x:Type TextBlock}">
        <Setter Property="FontSize" Value="8"/>
        <Setter Property="FontStyle" Value="Italic"/>
        <Setter Property="HorizontalAlignment" Value="Right" />
    </Style>


    <Style x:Key="decimal.pivotgrid"  TargetType="{x:Type TextBlock}">
        <Setter Property="HorizontalAlignment" Value="Right" />
        <Setter Property="Margin" Value="5,0,5,0" />
    </Style>

    <Style x:Key="AllWhiteBackground.Grid"  TargetType="{x:Type Grid}">
        <!-- ImageXYText-->
        <Setter Property="Background" Value="White" />
    </Style>



    <Style x:Key="WECPOFGridNumberCellElementStyle"  TargetType="{x:Type TextBlock}">
        <Setter Property="HorizontalAlignment" Value="Right" />
    </Style>

    <Style  x:Key="WECPOFGridNumberCellHeaderStyle"  TargetType="{x:Type DataGridColumnHeader}">
        <Setter Property="Background" Value="{StaticResource ButtonBackGray}" />
        <Setter Property="Foreground" Value="Black" />
        <Setter Property="FontSize" Value="9"/>
        <Setter Property="Padding" Value="2" />
        <Setter Property="BorderThickness" Value="0,0,1,0" />
        <Setter Property="BorderBrush" Value="DarkGray" />
        <Setter Property="HorizontalAlignment" Value="Right" />
    </Style>

    <SolidColorBrush x:Key="{x:Static SystemColors.InactiveSelectionHighlightBrushKey}" Color="LightGray"/>

    <Style x:Key=".DataGrid" TargetType="{x:Type  DataGrid}">
        <Setter Property="GridLinesVisibility" Value="Vertical"></Setter>
        <Setter Property="AlternatingRowBackground" Value="WhiteSmoke"></Setter>
        <Setter Property="VerticalGridLinesBrush" Value="WhiteSmoke"></Setter>
        <Setter Property="HorizontalGridLinesBrush" Value="WhiteSmoke"></Setter>
        <Setter Property="BorderThickness" Value="0" />
        <Setter Property="Margin" Value="10,0,0,0" />
        <Setter Property="Background" Value="{StaticResource GridBack}" />
    </Style>


    <!--
    <Style TargetType="Page">
        <Setter Property="Background" Value="LightGray"></Setter>
    </Style>
    <Style TargetType="Window">
        <Setter Property="Background" Value="LightGray"></Setter>
    </Style>
    
    <Style TargetType="ecowpf:ViewModelWPFUserControl">
        <Setter Property="Background" Value="LightGray"></Setter>
    </Style>

-->

    <Style TargetType="TabItem">
        <Setter Property="Foreground" Value="DarkGray"></Setter>
    </Style>
    <Style TargetType="DatePicker">
        <Setter Property="Background" Value="White"></Setter>
        <Setter Property="Padding" Value="2"></Setter>
        <Setter Property="Height" Value="21"></Setter>
        <Setter Property="BorderThickness" Value="0"></Setter>
        <Setter Property="BorderBrush" Value="{StaticResource EditControlBorderColor}"></Setter>
        <Setter Property="Margin" Value="10,0,1,0"/>
    </Style>



    <DrawingBrush x:Key="close_button" Stretch="Uniform">
        <DrawingBrush.Drawing>
            <DrawingGroup>
                <DrawingGroup Transform="1,0,0,1,-197.277496337891,-392.497711181641">
                    <GeometryDrawing Brush="#FFFFD5D5" Geometry="M197.843,393.176C197.843,393.114,197.894,393.063,197.956,393.063L413.253,393.063C413.316,393.063,413.366,393.114,413.366,393.176L413.366,561.819C413.366,561.881,413.316,561.932,413.253,561.932L197.956,561.932C197.894,561.932,197.843,561.881,197.843,561.819z">
                        <GeometryDrawing.Pen>
                            <Pen Brush="Black" Thickness="1.131" ></Pen>
                        </GeometryDrawing.Pen>
                    </GeometryDrawing>
                    <DrawingGroup Transform="1.21227359771729,0,0,0.982334613800049,-38.0927505493164,6.8656325340271">
                        <GeometryDrawing Geometry="M197.777,396.293C197.777,396.238,197.822,396.193,197.877,396.193L369.152,396.193C369.207,396.193,369.252,396.238,369.252,396.293L369.252,561.898C369.252,561.953,369.207,561.998,369.152,561.998L197.877,561.998C197.822,561.998,197.777,561.953,197.777,561.898z">
                            <GeometryDrawing.Brush>
                                <LinearGradientBrush StartPoint="247.726,394.49" EndPoint="247.726,564.562" MappingMode="Absolute" SpreadMethod="Pad">
                                    <GradientStop Color="#FFFFAAAA" Offset="0" ></GradientStop>
                                    <GradientStop Color="#FFB44646" Offset="0.472" ></GradientStop>
                                    <GradientStop Color="Maroon" Offset="0.491" ></GradientStop>
                                    <GradientStop Color="#FFC83737" Offset="1" ></GradientStop>
                                </LinearGradientBrush>
                            </GeometryDrawing.Brush>
                        </GeometryDrawing>
                    </DrawingGroup>
                    <GeometryDrawing Brush="#FF501616" Geometry="F1M251.652,436.013L291.120,477.419 249.714,518.982 265.995,531.732 305.589,491.888 346.620,533.201 359.839,517.388 320.058,477.419 361.495,435.826 345.183,423.107 305.589,462.919 264.714,421.794 251.652,436.013z" ></GeometryDrawing>
                    <GeometryDrawing Brush="White" Geometry="F1M263.277,426.685C260.168,429.950 252.899,432.463 254.745,437.935 265.542,449.185 276.872,460.157 287.830,471.409 293.958,475.437 294.748,479.461 288.200,483.507 276.484,495.241 264.404,506.771 253.245,519.154 257.298,522.727 260.227,527.590 265.339,529.841 278.735,516.272 292.215,502.790 305.683,489.216 319.314,502.897 332.644,516.622 346.495,530.091 350.312,526.086 355.654,523.633 357.870,518.341 344.334,504.753 330.809,491.153 317.277,477.560 330.838,463.704 345.116,450.530 357.964,435.998 354.043,432.339 351.093,427.553 345.933,425.373 332.566,438.966 319.036,452.409 305.620,465.935 292.020,452.246 278.545,438.411 264.683,424.904 264.214,425.498 263.745,426.091 263.277,426.685z" ></GeometryDrawing>
                </DrawingGroup>
            </DrawingGroup>
        </DrawingBrush.Drawing>
    </DrawingBrush>

    <!-- ResourceNewArticle,ResourceInPlanogram,ResourceDelisted,ResourceUnListed  -->
    <!-- ResourceNewArticle,ResourceInPlanogram,ResourceDelisted,ResourceUnListed  -->
    <!-- ResourceNewArticle,ResourceInPlanogram,ResourceDelisted,ResourceUnListed  -->
    <!-- ResourceNewArticle,ResourceInPlanogram,ResourceDelisted,ResourceUnListed  -->
    <!-- ResourceNewArticle,ResourceInPlanogram,ResourceDelisted,ResourceUnListed  -->
    <SolidColorBrush x:Key="BrushStopSig" Color="#FFFEB82F" ></SolidColorBrush>
        <DrawingBrush x:Key="ResourceUnListed" Stretch="Uniform">
            <DrawingBrush.Drawing>
                <DrawingGroup>
                    <DrawingGroup>
                        <GeometryDrawing Brush="#FFED171F" Geometry="F1M510.840,255.456C510.840,114.696 396.144,0.000 255.384,0.000 114.768,0.000 0.000,114.696 0.000,255.456 0.000,396.072 114.768,510.840 255.384,510.840 396.144,510.840 510.840,396.072 510.840,255.456z" ></GeometryDrawing>
                        <GeometryDrawing Brush="{StaticResource BrushStopSig}" Geometry="F1M451.944,255.384C451.944,147.168 363.672,58.896 255.456,58.896 147.312,58.896 58.968,147.168 58.968,255.384 58.968,363.528 147.312,451.872 255.456,451.872 363.672,451.872 451.944,363.528 451.944,255.384z" ></GeometryDrawing>
                        <GeometryDrawing Brush="Black" Geometry="F1M113.976,231.768C114.048,231.768 114.048,231.768 113.976,231.768 101.016,231.768 90.432,242.352 90.432,255.384 90.432,268.416 101.016,279.000 113.976,279.000 114.048,279.000 114.048,279.000 114.048,279.000L396.864,279.000C409.968,278.928 420.480,268.416 420.480,255.384 420.480,242.424 409.968,231.840 396.936,231.768L113.976,231.768z M360.432,207.504L360.432,174.240 360.432,144.648 384.840,144.648C395.136,144.648 403.488,153.000 403.488,163.296 403.488,173.592 395.136,181.944 384.840,182.016L371.880,182.016 371.880,207.504 360.432,207.504z M299.088,207.504L299.088,174.240 299.088,144.648 323.496,144.648C333.792,144.648 342.144,153.000 342.144,163.296 342.144,173.592 333.792,181.944 323.496,182.016L310.536,182.016 310.536,207.504 299.088,207.504z M253.584,208.224C246.528,208.296 239.904,205.344 235.152,200.160 229.320,193.464 226.224,184.896 226.224,176.040 226.224,167.256 229.320,158.688 235.080,152.064 239.904,146.808 246.528,143.856 253.584,143.928 260.640,143.856 267.336,146.808 272.088,152.064 277.776,158.688 280.944,167.184 280.944,175.896 280.944,175.968 280.944,175.968 280.944,176.040 280.944,176.184 280.944,176.184 280.944,176.256 280.944,184.968 277.776,193.464 272.088,200.088 267.336,205.344 260.640,208.296 253.584,208.224L253.584,208.224z M183.384,207.504L183.384,174.240 183.384,156.096 169.344,156.096 169.344,144.648 208.944,144.648 208.944,156.096 194.904,156.096 194.904,174.240 194.904,207.504z M151.344,151.992C145.440,146.880 137.880,144.072 129.960,144.072 128.016,144.072 126.072,144.216 124.200,144.576 118.872,145.440 114.120,148.248 110.808,152.496 108.648,155.304 107.496,158.688 107.496,162.216 107.496,169.200 112.176,175.392 118.944,177.264L135.504,182.088C137.736,182.664 139.536,184.176 140.616,186.048 141.192,186.984 141.408,187.992 141.408,189.000 141.408,190.080 141.120,191.160 140.472,192.096 139.320,194.616 136.872,196.200 134.064,196.272 127.080,197.568 119.808,195.192 114.984,189.936L106.488,197.712C112.608,204.336 121.176,208.080 130.176,208.080 131.904,208.080 133.632,207.936 135.360,207.648 141.840,207.144 147.528,203.400 150.552,197.712 152.064,195.048 152.928,192.096 152.928,189.000 152.928,185.904 152.064,182.952 150.552,180.288 147.960,175.824 143.712,172.440 138.744,171.072L122.040,166.248C119.160,165.456 118.008,162.000 119.808,159.624 121.392,157.608 123.624,156.312 126.144,155.880 132.480,154.728 138.960,156.456 143.856,160.704L151.344,151.992z M372.960,321.984L372.960,341.064 387.936,341.064 387.936,349.704 364.320,349.704 364.320,321.984 364.320,302.616 372.960,302.616z M334.944,302.544L349.920,349.632 340.848,349.632 338.112,341.064 318.888,341.064 316.152,349.632 307.152,349.632 322.128,302.544z M255.888,302.544L265.608,302.544 283.896,333.864 283.896,302.544 292.464,302.544 292.464,349.632 283.176,349.632 264.456,317.664 264.456,349.632 255.888,349.632z M230.184,315.000L236.304,308.952C232.488,304.560 226.944,301.968 221.040,301.968 220.968,301.968 220.896,301.968 220.824,301.968 220.752,301.968 220.752,301.968 220.680,301.968 215.424,301.968 210.456,304.200 206.928,308.088 202.608,313.056 200.232,319.320 200.232,325.944 200.232,326.016 200.232,326.016 200.232,326.088L200.232,326.160C200.232,332.784 202.608,339.120 206.928,344.088 210.456,347.976 215.424,350.208 220.680,350.208 220.752,350.208 220.752,350.208 220.824,350.208 221.112,350.208 221.328,350.208 221.688,350.208 231.408,350.208 239.616,342.720 240.480,333.000L240.480,324.144 220.824,324.144 220.824,332.712 231.912,332.712C231.192,337.536 227.304,341.208 222.480,341.568 221.904,341.640 221.328,341.640 220.824,341.568 217.800,341.640 214.920,340.344 212.976,337.968 210.312,334.584 208.800,330.408 208.872,326.016 208.800,321.696 210.312,317.520 212.976,314.208 214.920,311.904 217.800,310.536 220.824,310.608 224.424,310.536 227.952,312.120 230.184,315.000z M184.824,321.984L184.824,349.704 176.256,349.704 176.256,321.984 176.256,302.616 184.824,302.616z M159.768,308.088C155.376,304.272 149.688,302.112 143.784,302.112 142.344,302.112 140.832,302.256 139.392,302.544 135.432,303.192 131.832,305.352 129.384,308.448 127.728,310.536 126.864,313.128 126.864,315.720 126.864,320.904 130.392,325.584 135.504,327.024L147.960,330.552C149.544,331.056 150.912,332.136 151.776,333.576 152.136,334.224 152.352,335.016 152.352,335.808 152.352,336.600 152.136,337.392 151.632,338.112 150.768,339.984 148.896,341.208 146.880,341.208 141.552,342.216 136.152,340.416 132.480,336.456L126.144,342.288C130.752,347.256 137.232,350.064 143.928,350.064 145.224,350.064 146.520,349.992 147.816,349.776 152.640,349.416 156.888,346.608 159.192,342.288 160.344,340.344 160.992,338.040 160.992,335.808 160.992,333.504 160.344,331.200 159.192,329.256 157.248,325.872 154.080,323.352 150.336,322.344L137.808,318.744C135.648,318.096 134.784,315.576 136.152,313.776 137.304,312.264 139.032,311.328 140.832,311.040 145.656,310.104 150.552,311.472 154.152,314.640L159.768,308.088z" ></GeometryDrawing>
                        <GeometryDrawing Brush="{StaticResource BrushStopSig}" Geometry="F1M371.880,170.568L371.880,156.168 384.768,156.168C388.800,156.168 391.968,159.408 391.968,163.368 391.968,167.328 388.800,170.568 384.768,170.568L371.880,170.568z M310.536,170.568L310.536,156.168 323.424,156.168C327.456,156.168 330.696,159.408 330.696,163.368 330.696,167.328 327.456,170.568 323.424,170.568L310.536,170.568z M253.584,196.848C249.768,196.920 246.168,195.408 243.648,192.600 239.832,188.064 237.672,182.232 237.672,176.184 237.672,170.136 239.832,164.304 243.648,159.768 246.168,156.960 249.768,155.448 253.584,155.448 257.328,155.448 260.928,156.960 263.448,159.768 267.336,164.304 269.424,170.064 269.424,176.040L269.424,176.112C269.424,176.256 269.424,176.328 269.424,176.328 269.424,182.304 267.336,188.064 263.448,192.600 260.928,195.408 257.328,196.920 253.584,196.848z M321.696,332.496L328.536,310.896 335.376,332.496z" ></GeometryDrawing>
                    </DrawingGroup>
                </DrawingGroup>
            </DrawingBrush.Drawing>
        </DrawingBrush>

    <DrawingBrush x:Key="ResourceDelisted" Stretch="Uniform">
            <DrawingBrush.Drawing>
                <DrawingGroup>
                    <DrawingGroup Transform="1,0,0,1,-311.624786376953,-429.701293945313">
                        <DrawingGroup Transform="0.899999976158142,0,0,0.899999976158142,170.442092895508,-31.1130294799805">
                            <DrawingGroup Transform="0.306861996650696,0,0,0.306861996650696,127.617797851563,428.995910644531">
                                <GeometryDrawing Brush="Red" Geometry="M634.286,559.505A250.000,250.000,0.000,1,1,134.286,559.505A250.000,250.000,0.000,1,1,634.286,559.505z">
                                    <GeometryDrawing.Pen>
                                        <Pen Brush="#FFCB0000" Thickness="20.128" MiterLimit="4" ></Pen>
                                    </GeometryDrawing.Pen>
                                </GeometryDrawing>
                            </DrawingGroup>
                            <GeometryDrawing Geometry="F1M264.190,668.931C283.237,663.828 298.363,651.273 307.419,635.107 322.127,600.289 267.252,681.807 221.928,666.998 235.104,671.830 249.741,672.803 264.190,668.931z">
                                <GeometryDrawing.Brush>
                                    <LinearGradientBrush StartPoint="305.8,668.897" EndPoint="285.341,619.743" MappingMode="Absolute" SpreadMethod="Pad">
                                        <GradientStop Color="White" Offset="0" ></GradientStop>
                                        <GradientStop Color="Red" Offset="1" ></GradientStop>
                                    </LinearGradientBrush>
                                </GeometryDrawing.Brush>
                            </GeometryDrawing>
                            <GeometryDrawing Geometry="F1M245.657,529.362C206.220,529.362 174.215,562.210 174.215,602.684 174.215,608.158 174.823,613.486 175.933,618.619 215.138,543.151 257.378,590.656 311.840,575.072 301.204,548.274 275.575,529.362 245.657,529.362z">
                                <GeometryDrawing.Brush>
                                    <LinearGradientBrush StartPoint="210.172,529.362" EndPoint="246.428,611.847" MappingMode="Absolute" SpreadMethod="Pad">
                                        <GradientStop Color="White" Offset="0" ></GradientStop>
                                        <GradientStop Color="Red" Offset="1" ></GradientStop>
                                    </LinearGradientBrush>
                                </GeometryDrawing.Brush>
                            </GeometryDrawing>
                            <GeometryDrawing Brush="#BBFFFFFF" Geometry="F1M267.423,640.037L245.744,618.358 223.861,640.241 205.986,622.366 227.869,600.483 206.190,578.804 223.589,561.404 245.269,583.083 267.219,561.132 285.095,579.008 263.144,600.959 284.823,622.638 267.423,640.037" ></GeometryDrawing>
                            <GeometryDrawing Brush="White" Geometry="F1M267.298,637.006L245.710,615.418 223.953,637.176 209.051,622.274 230.809,600.517 209.221,578.929 223.726,564.424 245.314,586.012 267.128,564.198 282.030,579.099 260.215,600.913 281.803,622.501 267.298,637.006" ></GeometryDrawing>
                        </DrawingGroup>
                    </DrawingGroup>
                </DrawingGroup>
            </DrawingBrush.Drawing>
        </DrawingBrush>
    
    
    <SolidColorBrush x:Key="BrushSmiley" Color="#5CFFFFFF" ></SolidColorBrush>
    <DrawingBrush x:Key="ResourceInPlanogram" Stretch="Uniform">
            <DrawingBrush.Drawing>
                <DrawingGroup>
                    <DrawingGroup>
                        <GeometryDrawing Geometry="F1M44.429,38.571A19.714,6.571,0.000,1,1,5.000,38.571A19.714,6.571,0.000,1,1,44.429,38.571z">
                            <GeometryDrawing.Brush>
                                <RadialGradientBrush Center="24.714,38.571" RadiusX="19.714" RadiusY="19.714" GradientOrigin="24.714,38.571" MappingMode="Absolute" Transform="1,0,0,0.333332985639572,0,25.7142906188965">
                                    <GradientStop Color="Black" Offset="0" ></GradientStop>
                                    <GradientStop Color="#00000000" Offset="1" ></GradientStop>
                                </RadialGradientBrush>
                            </GeometryDrawing.Brush>
                        </GeometryDrawing>
                        <DrawingGroup Transform="2.08314204216003,0,0,2.08314204216003,-40.5471496582031,-16.4922409057617">
                            <GeometryDrawing Geometry="M39.775,19.009A8.662,8.662,0.000,1,1,22.451,19.009A8.662,8.662,0.000,1,1,39.775,19.009z">
                                <GeometryDrawing.Brush>
                                    <RadialGradientBrush Center="29.288,15.721" RadiusX="8.902" RadiusY="8.902" GradientOrigin="29.288,15.721" MappingMode="Absolute">
                                        <GradientStop Color="#FFFFFCDE" Offset="0" ></GradientStop>
                                        <GradientStop Color="#FFF6E76A" Offset="0.645" ></GradientStop>
                                        <GradientStop Color="#FFFFB738" Offset="1" ></GradientStop>
                                    </RadialGradientBrush>
                                </GeometryDrawing.Brush>
                                <GeometryDrawing.Pen>
                                    <Pen Brush="#FF9C8C0A" Thickness="0.48" StartLineCap="Round" EndLineCap="Round" DashCap="Round" LineJoin="Round" MiterLimit="4" ></Pen>
                                </GeometryDrawing.Pen>
                            </GeometryDrawing>
                        </DrawingGroup>
                        <DrawingGroup Transform="1.9797819852829,0,0,1.9797819852829,-37.3312797546387,-14.5274600982666">
                            <GeometryDrawing Geometry="M39.775,19.009A8.662,8.662,0.000,1,1,22.451,19.009A8.662,8.662,0.000,1,1,39.775,19.009z">
                                <GeometryDrawing.Pen>
                                    <Pen Brush="#ADFFFFFF" Thickness="0.505" StartLineCap="Round" EndLineCap="Round" DashCap="Round" LineJoin="Round" MiterLimit="4" ></Pen>
                                </GeometryDrawing.Pen>
                            </GeometryDrawing>
                        </DrawingGroup>
                    <GeometryDrawing Brush="{StaticResource BrushSmiley}" Geometry="F1M37.285,24.720C34.268,29.945 30.741,33.710 24.462,33.710 18.362,33.710 13.897,29.370 11.110,24.543 13.659,27.599 17.393,31.110 24.197,31.110 32.328,31.110 33.749,28.203 37.285,24.720z" ></GeometryDrawing>
                        <GeometryDrawing Geometry="F1M37.285,24.013C34.268,29.238 30.741,33.003 24.462,33.003 18.362,33.003 13.897,28.663 11.110,23.836 13.659,26.892 17.393,30.402 24.197,30.402 32.328,30.402 33.749,27.496 37.285,24.013z">
                            <GeometryDrawing.Brush>
                                <RadialGradientBrush Center="25.053,39.593" RadiusX="15.757" RadiusY="15.757" GradientOrigin="25.053,39.593" MappingMode="Absolute" Transform="1.25,0,0,1.25,-6.47944593429565,-13.3721103668213">
                                    <GradientStop Color="#FF777777" Offset="0" ></GradientStop>
                                    <GradientStop Color="Black" Offset="1" ></GradientStop>
                                </RadialGradientBrush>
                            </GeometryDrawing.Brush>
                        </GeometryDrawing>
                        <DrawingGroup Transform="1,0,0,1,0.353552997112274,2.3927059173584">
                        <GeometryDrawing Brush="{StaticResource BrushSmiley}" Geometry="F1M21.398,15.321C21.398,17.821 20.273,19.821 18.898,19.821 17.523,19.821 16.273,17.821 16.273,15.321 16.273,12.821 17.398,10.821 18.773,10.821 20.148,10.821 21.273,12.821 21.273,15.321L21.398,15.321z M30.689,15.321C30.689,17.821 29.564,19.821 28.189,19.821 26.814,19.821 25.689,17.821 25.689,15.321 25.689,12.821 26.814,10.821 28.189,10.821 29.564,10.821 30.689,12.821 30.689,15.321z" ></GeometryDrawing>
                            <GeometryDrawing Brush="Black" Geometry="F1M21.398,14.696C21.398,17.196 20.273,19.196 18.898,19.196 17.523,19.196 16.398,17.196 16.398,14.696 16.398,12.196 17.523,10.196 18.898,10.196 20.273,10.196 21.398,12.196 21.398,14.696z M30.689,14.696C30.689,17.196 29.564,19.196 28.189,19.196 26.814,19.196 25.689,17.196 25.689,14.696 25.689,12.196 26.814,10.196 28.189,10.196 29.564,10.196 30.689,12.196 30.689,14.696z" ></GeometryDrawing>
                        </DrawingGroup>
                    </DrawingGroup>
                </DrawingGroup>
            </DrawingBrush.Drawing>
        </DrawingBrush>

    <SolidColorBrush x:Key="BrushResourceNewArticle" Color="LightGray" ></SolidColorBrush>
    <DrawingBrush x:Key="ResourceNewArticle" Stretch="Uniform">
            <DrawingBrush.Drawing>
                <DrawingGroup>
                    <DrawingGroup>
                        <DrawingGroup>
                        <GeometryDrawing Brush="{StaticResource BrushResourceNewArticle}" Geometry="F1M219.744,443.880C341.103,443.880 439.488,344.510 439.488,221.940 439.488,99.368 341.103,0.000 219.744,0.000 98.387,0.000 0.000,99.368 0.000,221.940 0.000,344.510 98.387,443.880 219.744,443.880z M219.744,221.940" ></GeometryDrawing>
                        </DrawingGroup>
                        <DrawingGroup>
                            <GeometryDrawing Brush="White" Geometry="F1M219.744,392.714C313.128,392.714 388.830,316.255 388.830,221.940 388.830,127.623 313.128,51.166 219.744,51.166 126.362,51.166 50.659,127.623 50.659,221.940 50.659,316.255 126.362,392.714 219.744,392.714z M219.744,221.940" ></GeometryDrawing>
                        </DrawingGroup>
                        <DrawingGroup>
                        <GeometryDrawing Brush="{StaticResource BrushResourceNewArticle}" Geometry="F1M196.963,300.274L246.494,300.172 246.494,261.690C246.494,251.252 251.360,241.390 264.380,232.849 277.399,224.312 313.744,206.988 313.744,161.440 313.744,115.890 275.577,84.582 243.494,77.940 211.416,71.298 176.659,75.668 151.994,102.690 129.907,126.887 125.253,146.027 125.253,188.255L174.744,188.255 174.744,178.440C174.744,155.939 177.347,132.186 209.494,125.690 227.040,122.144 243.488,127.648 253.244,137.190 264.404,148.102 264.494,172.690 246.711,184.933L218.815,203.912C202.543,214.350,196.963,225.971,196.963,243.051L196.963,300.274z" ></GeometryDrawing>
                            <DrawingGroup>
                            <GeometryDrawing Brush="{StaticResource BrushResourceNewArticle}" Geometry="F1M196.638,370.692L196.638,319.687 246.850,319.687 246.850,370.692 196.638,370.692z M221.744,345.190" ></GeometryDrawing>
                            </DrawingGroup>
                        </DrawingGroup>
                    </DrawingGroup>
                </DrawingGroup>
            </DrawingBrush.Drawing>
        </DrawingBrush>


    <SolidColorBrush x:Key="BrushResourceOnOrder" Color="#5CFFFFFF" ></SolidColorBrush>
    <DrawingBrush x:Key="ResourceOnOrder" Stretch="Uniform">
        <DrawingBrush.Drawing>
            <DrawingGroup>
                <DrawingGroup>
                    <GeometryDrawing Geometry="F1M44.429,38.571A19.714,6.571,0.000,1,1,5.000,38.571A19.714,6.571,0.000,1,1,44.429,38.571z">
                        <GeometryDrawing.Brush>
                            <RadialGradientBrush Center="24.714,38.571" RadiusX="19.714" RadiusY="19.714" GradientOrigin="24.714,38.571" MappingMode="Absolute" Transform="1,0,0,0.333332985639572,0,25.7142906188965">
                                <GradientStop Color="Black" Offset="0" ></GradientStop>
                                <GradientStop Color="#00000000" Offset="1" ></GradientStop>
                            </RadialGradientBrush>
                        </GeometryDrawing.Brush>
                    </GeometryDrawing>
                    <DrawingGroup Transform="2.08314204216003,0,0,2.08314204216003,-40.5471496582031,-16.4922409057617">
                        <GeometryDrawing Geometry="M39.775,19.009A8.662,8.662,0.000,1,1,22.451,19.009A8.662,8.662,0.000,1,1,39.775,19.009z">
                            <GeometryDrawing.Brush>
                                <RadialGradientBrush Center="29.288,15.721" RadiusX="8.902" RadiusY="8.902" GradientOrigin="29.288,15.721" MappingMode="Absolute">
                                    <GradientStop Color="#FFFFFCDE" Offset="0" ></GradientStop>
                                    <GradientStop Color="#FFF6E76A" Offset="0.645" ></GradientStop>
                                    <GradientStop Color="#FFFFB738" Offset="1" ></GradientStop>
                                </RadialGradientBrush>
                            </GeometryDrawing.Brush>
                            <GeometryDrawing.Pen>
                                <Pen Brush="#FF9C8C0A" Thickness="0.48" StartLineCap="Round" EndLineCap="Round" DashCap="Round" LineJoin="Round" MiterLimit="4" ></Pen>
                            </GeometryDrawing.Pen>
                        </GeometryDrawing>
                    </DrawingGroup>
                    <DrawingGroup Transform="1.9797819852829,0,0,1.9797819852829,-37.3312797546387,-14.5274600982666">
                        <GeometryDrawing Geometry="M39.775,19.009A8.662,8.662,0.000,1,1,22.451,19.009A8.662,8.662,0.000,1,1,39.775,19.009z">
                            <GeometryDrawing.Pen>
                                <Pen Brush="#ADFFFFFF" Thickness="0.505" StartLineCap="Round" EndLineCap="Round" DashCap="Round" LineJoin="Round" MiterLimit="4" ></Pen>
                            </GeometryDrawing.Pen>
                        </GeometryDrawing>
                    </DrawingGroup>
                    <GeometryDrawing Brush="{StaticResource BrushResourceOnOrder}" Geometry="F1M33.661,32.696C33.661,36.196 29.411,38.946 24.286,38.946 19.161,38.946 14.911,36.196 14.911,32.696 14.911,29.196 19.161,26.446 24.286,26.446 29.411,26.446 33.661,29.196 33.661,32.696z" ></GeometryDrawing>
                    <GeometryDrawing Geometry="F1M33.661,31.696C33.661,35.196 29.411,37.946 24.286,37.946 19.161,37.946 14.911,35.196 14.911,31.696 14.911,28.196 19.161,25.446 24.286,25.446 29.411,25.446 33.661,28.196 33.661,31.696z">
                        <GeometryDrawing.Brush>
                            <RadialGradientBrush Center="25.053,39.593" RadiusX="15.757" RadiusY="15.757" GradientOrigin="25.053,39.593" MappingMode="Absolute" Transform="1.25,0,0,1.25,-6.21428108215332,-8.4285717010498">
                                <GradientStop Color="#FF777777" Offset="0" ></GradientStop>
                                <GradientStop Color="Black" Offset="1" ></GradientStop>
                            </RadialGradientBrush>
                        </GeometryDrawing.Brush>
                    </GeometryDrawing>
                    <DrawingGroup Transform="1,0,0,1,0.265165001153946,0">
                        <GeometryDrawing Brush="{StaticResource BrushResourceOnOrder}" Geometry="F1M21.398,15.321C21.398,17.821 20.273,19.821 18.898,19.821 17.523,19.821 16.273,17.821 16.273,15.321 16.273,12.821 17.398,10.821 18.773,10.821 20.148,10.821 21.273,12.821 21.273,15.321L21.398,15.321z M30.689,15.321C30.689,17.821 29.564,19.821 28.189,19.821 26.814,19.821 25.689,17.821 25.689,15.321 25.689,12.821 26.814,10.821 28.189,10.821 29.564,10.821 30.689,12.821 30.689,15.321z" ></GeometryDrawing>
                        <GeometryDrawing Brush="Black" Geometry="F1M21.398,14.696C21.398,17.196 20.273,19.196 18.898,19.196 17.523,19.196 16.398,17.196 16.398,14.696 16.398,12.196 17.523,10.196 18.898,10.196 20.273,10.196 21.398,12.196 21.398,14.696z M30.689,14.696C30.689,17.196 29.564,19.196 28.189,19.196 26.814,19.196 25.689,17.196 25.689,14.696 25.689,12.196 26.814,10.196 28.189,10.196 29.564,10.196 30.689,12.196 30.689,14.696z" ></GeometryDrawing>
                    </DrawingGroup>
                </DrawingGroup>
            </DrawingGroup>
        </DrawingBrush.Drawing>
    </DrawingBrush>



    <!-- Brushes for budget arrows-->
    <!-- Brushes for budget arrows-->
    <!-- Brushes for budget arrows-->
    <!-- Brushes for budget arrows-->

    
    <Color x:Key="light_goup">#FF73D216</Color>
    <Color x:Key="lesslight_goup">#FF4E9A06</Color>
    <DrawingBrush x:Key="goup" Stretch="Uniform">
        <DrawingBrush.Drawing>
            <DrawingGroup>
                <DrawingGroup>
                    <GeometryDrawing Geometry="F1M14.492,38.500L32.469,38.500 32.469,25.547 40.500,25.547 23.375,5.499 6.529,25.489 14.497,25.556 14.492,38.500z">
                        <GeometryDrawing.Brush>
                            <RadialGradientBrush Center="11.319,22.455" RadiusX="16.956" RadiusY="16.956" GradientOrigin="11.319,22.455" MappingMode="Absolute" Transform="1.87188497696357E-16,-0.843021988868713,1.02016794681549,2.26522815177606E-16,0.606436014175415,42.5861396789551">
                                <GradientStop Color="{StaticResource light_goup}" Offset="0" ></GradientStop>
                                <GradientStop Color="{StaticResource lesslight_goup}" Offset="1" ></GradientStop>
                            </RadialGradientBrush>
                        </GeometryDrawing.Brush>
                        <GeometryDrawing.Pen>
                            <Pen Brush="#FF3A7304" Thickness="1" StartLineCap="Round" EndLineCap="Round" DashCap="Round" LineJoin="Round" ></Pen>
                        </GeometryDrawing.Pen>
                    </GeometryDrawing>
                    <GeometryDrawing Geometry="F1M7.586,25.033L14.996,25.033 15.062,31.594C20.718,20.594 31.056,22.750 31.657,15.967 31.657,15.967 23.367,6.422 23.367,6.422L7.586,25.033z">
                        <GeometryDrawing.Brush>
                            <RadialGradientBrush Center="24.538,0.4" RadiusX="17.171" RadiusY="17.171" GradientOrigin="24.538,0.4" MappingMode="Absolute" Transform="-3.74942707522362E-16,-2.04672908782959,1.55761003494263,-2.8534041245803E-16,2.76700901985168,66.932746887207">
                                <GradientStop Color="White" Offset="0" ></GradientStop>
                                <GradientStop Color="Transparent" Offset="1" ></GradientStop>
                            </RadialGradientBrush>
                        </GeometryDrawing.Brush>
                    </GeometryDrawing>
                    <GeometryDrawing Geometry="F1M15.603,37.500L31.503,37.500 31.503,24.507 38.312,24.507 23.361,7.070 8.655,24.550 15.475,24.528 15.603,37.500z">
                        <GeometryDrawing.Pen>
                            <Pen Brush="#7BFFFFFF" Thickness="1" ></Pen>
                        </GeometryDrawing.Pen>
                    </GeometryDrawing>
                </DrawingGroup>
            </DrawingGroup>
        </DrawingBrush.Drawing>
    </DrawingBrush>

    <Color x:Key="light_godown">#FFFB0505</Color>
    <Color x:Key="lesslight_godown">#FFD80505</Color>
    <DrawingBrush x:Key="godown" Stretch="Uniform">
        <DrawingBrush.RelativeTransform>
            <RotateTransform Angle="180" CenterX="0.5" CenterY="0.5"></RotateTransform>
        </DrawingBrush.RelativeTransform>
        <DrawingBrush.Drawing>
            <DrawingGroup>
                <DrawingGroup>
                    <GeometryDrawing Geometry="F1M14.492,38.500L32.469,38.500 32.469,25.547 40.500,25.547 23.375,5.499 6.529,25.489 14.497,25.556 14.492,38.500z">
                        <GeometryDrawing.Brush>
                            <RadialGradientBrush Center="11.319,22.455" RadiusX="16.956" RadiusY="16.956" GradientOrigin="11.319,22.455" MappingMode="Absolute" Transform="1.87188497696357E-16,-0.843021988868713,1.02016794681549,2.26522815177606E-16,0.606436014175415,42.5861396789551">
                                <GradientStop Color="{StaticResource light_godown}" Offset="0" ></GradientStop>
                                <GradientStop Color="{StaticResource lesslight_godown}" Offset="1" ></GradientStop>
                            </RadialGradientBrush>
                        </GeometryDrawing.Brush>
                        <GeometryDrawing.Pen>
                            <Pen Brush="#FF3A7304" Thickness="1" StartLineCap="Round" EndLineCap="Round" DashCap="Round" LineJoin="Round" ></Pen>
                        </GeometryDrawing.Pen>
                    </GeometryDrawing>
                    <GeometryDrawing Geometry="F1M7.586,25.033L14.996,25.033 15.062,31.594C20.718,20.594 31.056,22.750 31.657,15.967 31.657,15.967 23.367,6.422 23.367,6.422L7.586,25.033z">
                        <GeometryDrawing.Brush>
                            <RadialGradientBrush Center="24.538,0.4" RadiusX="17.171" RadiusY="17.171" GradientOrigin="24.538,0.4" MappingMode="Absolute" Transform="-3.74942707522362E-16,-2.04672908782959,1.55761003494263,-2.8534041245803E-16,2.76700901985168,66.932746887207">
                                <GradientStop Color="White" Offset="0" ></GradientStop>
                                <GradientStop Color="Transparent" Offset="1" ></GradientStop>
                            </RadialGradientBrush>
                        </GeometryDrawing.Brush>
                    </GeometryDrawing>
                    <GeometryDrawing Geometry="F1M15.603,37.500L31.503,37.500 31.503,24.507 38.312,24.507 23.361,7.070 8.655,24.550 15.475,24.528 15.603,37.500z">
                        <GeometryDrawing.Pen>
                            <Pen Brush="#7BFFFFFF" Thickness="1" ></Pen>
                        </GeometryDrawing.Pen>
                    </GeometryDrawing>
                </DrawingGroup>
            </DrawingGroup>
        </DrawingBrush.Drawing>
    </DrawingBrush>
    <Color x:Key="light_gonowhere">#FFF0FB05</Color>
    <Color x:Key="lesslight_gonowhere">#FFCFD805</Color>
    <DrawingBrush x:Key="gonowhere" Stretch="Uniform" >
        <DrawingBrush.RelativeTransform>
            <RotateTransform Angle="90" CenterX="0.5" CenterY="0.5"></RotateTransform>
        </DrawingBrush.RelativeTransform>
        <DrawingBrush.Drawing>
            <DrawingGroup>
                <DrawingGroup>
                    <GeometryDrawing Geometry="F1M14.492,38.500L32.469,38.500 32.469,25.547 40.500,25.547 23.375,5.499 6.529,25.489 14.497,25.556 14.492,38.500z">
                        <GeometryDrawing.Brush>
                            <RadialGradientBrush Center="11.319,22.455" RadiusX="16.956" RadiusY="16.956" GradientOrigin="11.319,22.455" MappingMode="Absolute" Transform="1.87188497696357E-16,-0.843021988868713,1.02016794681549,2.26522815177606E-16,0.606436014175415,42.5861396789551">
                                <GradientStop Color="{StaticResource light_gonowhere}" Offset="0" ></GradientStop>
                                <GradientStop Color="{StaticResource lesslight_gonowhere}" Offset="1" ></GradientStop>
                            </RadialGradientBrush>
                        </GeometryDrawing.Brush>
                        <GeometryDrawing.Pen>
                            <Pen Brush="#FF3A7304" Thickness="1" StartLineCap="Round" EndLineCap="Round" DashCap="Round" LineJoin="Round" ></Pen>
                        </GeometryDrawing.Pen>
                    </GeometryDrawing>
                    <GeometryDrawing Geometry="F1M7.586,25.033L14.996,25.033 15.062,31.594C20.718,20.594 31.056,22.750 31.657,15.967 31.657,15.967 23.367,6.422 23.367,6.422L7.586,25.033z">
                        <GeometryDrawing.Brush>
                            <RadialGradientBrush Center="24.538,0.4" RadiusX="17.171" RadiusY="17.171" GradientOrigin="24.538,0.4" MappingMode="Absolute" Transform="-3.74942707522362E-16,-2.04672908782959,1.55761003494263,-2.8534041245803E-16,2.76700901985168,66.932746887207">
                                <GradientStop Color="White" Offset="0" ></GradientStop>
                                <GradientStop Color="Transparent" Offset="1" ></GradientStop>
                            </RadialGradientBrush>
                        </GeometryDrawing.Brush>
                    </GeometryDrawing>
                    <GeometryDrawing Geometry="F1M15.603,37.500L31.503,37.500 31.503,24.507 38.312,24.507 23.361,7.070 8.655,24.550 15.475,24.528 15.603,37.500z">
                        <GeometryDrawing.Pen>
                            <Pen Brush="#7BFFFFFF" Thickness="1" ></Pen>
                        </GeometryDrawing.Pen>
                    </GeometryDrawing>
                </DrawingGroup>
            </DrawingGroup>
        </DrawingBrush.Drawing>
    </DrawingBrush>

    <Style x:Key="goup.Grid" TargetType="Grid">
        <Setter Property="Width" Value="30"></Setter>
        <Setter Property="Height" Value="30"></Setter>
        <Setter Property="Background" Value="{StaticResource goup}"></Setter>
    </Style>
    <Style x:Key="godown.Grid" TargetType="Grid">
        <Setter Property="Width" Value="30"></Setter>
        <Setter Property="Height" Value="30"></Setter>
        <Setter Property="Background" Value="{StaticResource godown}"></Setter>
    </Style>
    <Style x:Key="gonowhere.Grid" TargetType="Grid">
        <Setter Property="Width" Value="30"></Setter>
        <Setter Property="Height" Value="30"></Setter>
        <Setter Property="Background" Value="{StaticResource gonowhere}"></Setter>
    </Style>


</ResourceDictionary>